﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using MaxLeaf.Platform.Contract;
using MaxLeaf.Platform.BLLImplementation;
using MaxLeaf.Platform.DataContract;
using CommonsLib.Utility;
using CommonsLib.Settings;

namespace MaxLeaf.Platform.BLLServer
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码、svc 和配置文件中的类名“SCPmLogBSL”。
    public class CategroyApproBSL : ICategroyAppro 
    {
        #region ICategroyAppro 成员

        public CategroyApproDataModel Confirm(CategroyApproDataModel model)
        {
            CategroyApproBLL bll = new CategroyApproBLL();
            return bll.Confirm(model);  
        }

        //CategroyApproDataModel ICategroyAppro.Confirm(CategroyApproDataModel model)
        //{
        //    throw new NotImplementedException();
        //}

        #endregion

        #region ICategroyAppro 成员


        public CategroyApproDataModel UnConfirm(CategroyApproDataModel model)
        {
            CategroyApproBLL bll = new CategroyApproBLL();
            return bll.UnConfirm(model); 
        }

        #endregion

        #region ICategroyAppro 成员


        public CategroyApproDataModel DepartApproval(CategroyApproDataModel model)
        {
            CategroyApproBLL bll = new CategroyApproBLL();
            return bll.DepartApproval(model); 
        }

        #endregion
    }
}
